Multiple energy storage device controller

ABSTRACT

A system for controlling multiple energy storage devices in an uninterruptible power supply (UPS) system is provided. In one embodiment of the invention, the system generally includes a charger coupled to a direct current (DC) bus of the UPS system, and two or more energy storage circuits, each of which includes a power regulator coupled to the charger and coupled to the DC bus, at least one energy storage device coupled to the power regulator, and a processor coupled to the power regulator for controlling the charge and discharge of the at least one energy storage device. In another embodiment of the invention, digital communication between two or more controllers is accomplished over the DC bus through use of the Control Area Network (CAN) protocol.

This application is a continuation application under 37 C.F.R. 1.53(b) fo U.S. Ser. No. 09/838,757, filed Apr. 19, 2001 (U.S. Pat. No. 6,424,119), which is incorporated herein by reference.

FIELD OF THE INVENTION

The present application relates generally to an apparatus for charging one or more batteries. More specifically, it relates to an apparatus for charging one or more batteries in an uniterruptible power supply system.

BACKGROUND OF THE INVENTION

Generally, uninterruptible power supply (UPS) systems and DC storage plants are set up with batteries directly connected to a bus only through fuses, switches, relays, or shunts. For example, FIG. 1 shows a typical prior art uninterruptible power supply UPS system 10. A charger 12 or rectifier is coupled between an input 14 having alternating current and a DC bus 16 and converts the alternating current to a direct current. Multiple battery packs 18 a-18 c are connected to the DC bus 16 and are thus charged by the charger 12. The DC bus 16 is connected to an inverter 20, which is connected to the UPS output 22. A system bypass 24 can also be included for bypassing the UPS system in the event of a UPS malfunction. In the event of a power failure from input 14, the batteries 18 a-18 c will supply power to the UPS output 22 through the inverter 20.

FIG. 2 shows a typical prior art UPS system in a DC storage plant. One or more rectifiers 32 a, 32 b are respectively coupled between inputs 34 a, 34 b each having an alternating current signal thereon and a DC bus 36 and convert each alternating current signal to a direct current. Multiple battery packs 38 a-38 c are connected to the DC bus 36 and are thus charged by the rectifier 32. The DC bus 36 is connected to one or more inverters 40 a, 40 b, which are respectively connected to the UPS outputs 42 a, 42 b. Like the UPS system of FIG. 1, in the event of a power failure from input 34 a and/or 34 b, the batteries 38 a-38 c will supply power to the outputs 42 a, 42 b.

In both FIGS. 1 and 2, there is no control over the flow of energy in and out of the batteries because they are connected directly to the DC bus. In these systems, if a discharged battery is connected to the bus, the other batteries will deliver energy to the discharged battery until its charge is the same as all the rest, assuming that the voltage versus charge characteristics of all batteries are the same. Moreover, the systems in both FIGS. 1 and 2 do not allow for individualized dynamic charge control of each energy storage device so that dissimilar energy storage devices, such as batteries of different chemistry, and storage devices of similar type but differing condition, such as batteries in different temperature zones or of differing ages, cannot effectively be connected to the same bus.

SUMMARY OF THE INVENTION

Embodiments of the present invention use a power regulator, such as a DC to DC converter, connected between one or more energy storage devices and a DC bus to control the energy flow of each of the energy storage devices in a desired manner. In one embodiment of the invention, the system for controlling multiple energy storage devices in an uninteruptible power supply (UPS) system includes a charger coupled to a direct current (DC) bus of the UPS system, and two or more energy storage circuits each of which include a power regulator coupled to the charger and coupled to the DC bus, at least one energy storage device coupled to the power regulator; and a processor coupled to the converter for controlling the charge and discharge of the at least one energy storage device.

In another embodiment of the invention, a digital communication link such as that employing the Control Area Network (CAN) protocol is used to digitally communicate between two or more processors. Communication using the CAN protocol can be accomplished over the DC bus or can be accomplished over an additional copper, fibre-optic or wireless communication link.

In yet another embodiment of the invention, the energy capacity of the system is determined though a voltage measurement of the DC bus which is set by the one or more energy storage devices to be equal to a value representing the collective energy stored/remaining according to a predetermined voltage to capacity relationship.

One advantage of embodiments of the invention is that the energy storage devices will regulate their discharge and recharge rates according to predetermined system requirements and their own capability.

Another advantage of embodiments of the invention is that the energy capacity of the system can be determined by simply measuring the voltage on the DC bus. By measuring the voltage of the DC bus, an inverter, which typically has no information as to how many battery packs are coupled to it, can easily tell how much run-time it has without digital communication to a master controller. Devices that draw energy from the bus, such as load equipment, can obtain information about the remaining run-time. This information is particularly beneficial when the master controller is unavailable or not installed or when digital communication is unavailable.

Yet another advantage of embodiments of the invention is that the energy delivery system can be designed with the more versatile digital communication system and have a reliable back-up communication system in case the digital communication is unavailable merely by measuring the voltage on the DC bus.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a prior art circuit diagram of a typical uninterruptible power supply system.

FIG. 2 is a prior art circuit diagram of an uninterruptible power supply used with a typical DC storage plant.

FIG. 3 is a circuit diagram of one embodiment of a multiple energy storage device controller in accordance with the invention.

FIG. 4 is a circuit diagram of another embodiment of a multiple energy storage device controller in which more than one module is coupled to the DC bus.

FIG. 5 is an exemplary graph of voltage versus time for an embodiment of the invention in which separate equations are used for the discharge and charge modes.

FIG. 6 exemplary graph of voltage versus time that shows a sample of a modulated RF burst on a 120VAC power line and the corresponding decoded data bit.

FIG. 7 is a chart that shows some of the data rates supported by the CAN communication protocol.

FIG. 8 is a diagram of a CAN data packet.

FIG. 9 is an exemplary timing diagram that illustrates the message arbitration scheme implemented in CAN.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 3 shows one embodiment of the battery charger 50 in which a power regulator 52 is connected between an energy storage device 54 and a DC bus 56 to control the energy flow therebetween. A processor 60, such as a microprocessor, is connected to each power regulator 52 to control its operation and/or monitor one or more of its functions. The processor 60 can be coupled to the DC bus 56 to monitor the bus and/or communicate with one or more other processors. The circuitry for the multiple battery charger 50 can, but not necessarily, be manufactured on a different module 62 for each different energy storage device 54. With the present invention, energy storage devices of different chemistries and condition can be connected to the bus and be independently managed for optimal performance and service-life. The state of charge of each energy storage device can be managed separately to follow predetermined rules such as rules based upon cost of use.

The present invention allows use of different energy storage device types that can store and deliver energy, such as, for example, batteries, solar power systems or internal combustion engines. Also, the batteries can be of different chemical types. The processor 60 preferably conducts an energy analysis of the corresponding energy storage device. The energy analysis of the processor 60 can include the state of charge, the state of condition and capacity of the energy storage device.

FIG. 4 shows another embodiment of the multiple battery charger 70 in which two or more energy storage circuits, each of which can be place on a separate module 72 a, 72 b, 72 c, are coupled to the DC bus 73. Preferably, each module can have a charger 74 for converting an alternating or other type of current into a direct current, such as a pulsating direct current, that can be used for charging one or more energy storage devices. Alternatively, one charger 74 can be used to provide charging current to all modules. A power regulator 76, such as a DC/DC converter, is coupled between both the charger 74 and the DC bus 73 and an energy storage device 78. The power regulator 76 controls the power flow to and from the each module's energy storage device 78, such as a battery, and the charger 74 or the DC bus 73. Each energy storage circuit has a processor 80, such as a microprocessor, that is coupled to the power regulator on the same module and controls the function of the power regulator. The processor 80 is preferably connected to a controller 82, such as a CAN controller, for adapting the communication protocol used by the processor to be communicated to the other processors. The CAN controller can communicate over other mediums such as twisted pair wiring, fiber-optic or wireless links. The processor 80 may perform the same functions as the processor 60 of FIG. 3. The energy storage circuit can also include an RF transceiver 84 for transmitting and receiving the communication signals over the DC bus 73. A relay or switch 86, such as a fail-over relay, is coupled in parallel with the power regulator to bypass the power regulator 76 in case a malfunction occurs with it or the processor 80 if raw power from the energy storage devices is approximately compatible with the power input requirements of devices coupled to the bus which draws power. If this is not the case, then the relay is not implemented.

To regulate power flow to and from each storage device, either digital or analog communications can be used. In one embodiment of the invention, digital is the primary communications method and the analog method is a back-up method in case the digital communication fails. Communication between the modules can be used, for example, to ensure that one module does not discharge into another module that is charging at the same time a power outage exists. Suboptimal behavior such as this could lead to inefficient operation and reduced performance levels of the system.

Digital communication is the preferable communication medium between two or more modules. Digital communication is preferably accomplished by modulating digital information on the DC bus, to which each of the modules are connected. The processor of each module can share information about loading, charge levels, availability and cost per use. A master processor preferably collects all this data and coordinates the energy flow to and from each device to maintain load availability, use the cheapest alternative energy source, manage optimum energy reserves, and/or prolong service life time of energy storage devices. The master processor can set the discharge rate or recharge rate of each of the connected modules by sending parameters to the local module processor. Each local processor can dynamically control its power regulator to conform to the rules transmitted by the master processor.

Alternatively, analog communication can be used, such as in the absence of a master processor, during a digital communication failure, or when digital communication is “slow.” For example, the DC bus voltage can be controlled to be a value that corresponds to a system capacity such that the capacity can be determined through an analog measurement. The DC bus voltage can be controlled independently of the energy storage devices and power can be regulated to and from the energy storage devices on to the bus.

In one embodiment during charging and discharging of the energy storage devices, each of the energy storage devices charges or discharges to make its own energy value equal to the system capacity energy value. For example, if the system were charging on line, its capacity value was 80% and a new battery with 60% capacity was connected, the new battery would charge by itself or would charge faster than the others to bring the new battery up to the same capacity as the others, then the others would continue charging as usual. If the system were discharging, the 80% batteries would discharge down to the 60% level of the new battery and then the new one will join in with others to discharge equally.

In another embodiment, the voltage of the DC bus can be controlled to indicate a state of charge of the one or more energy devices. To accomplish this, a separate equation is used for the discharge and charge modes such that the energy or voltage range is different for the charge and discharge modes. For example, with reference to FIG. 5, when a UPS is charging the DC voltage would vary from 25 V to 30 V as shown at 90 when the capacity moves from 0% to 100%. Thus, if the measured voltage on the DC bus is 29 Volts, then the voltage will indicate that the UPS is charging the energy storage devices and their average capacity is 80%. When the UPS energy devices are discharging, the bus would vary from 25 to 20 V as the capacity moves from 100% to 0% as shown at 92. Thus, if the measured voltage on the DC bus is 21 Volts, then the voltage will indicate that the energy storage devices are discharging and their average capacity is 20%. In this embodiment, it would appear as if the DC bus voltage has hysteresis.

In another embodiment during charging and discharging of the energy storage devices, a +/−0.5 V “dead zone” would be added around the 25 V point separating the charge mode range from the discharge mode range. In this case, the charge mode would occupy the 25.5 V to 30 V region and the discharge mode would occupy the 24.5 V to 20 V region. The purpose of this dead zone is to insure that when measuring the voltage on the DC bus, an ambiguous state does not occur at or near the center voltage and also to remove uncertainty due to minor voltage drops across system wiring.

In yet another embodiment, the system can allow for a voltage level on the DC bus to be greater than the 100% capacity level to indicate “free” or preferred energy available on the bus. For example, the voltage level would be 30.5 V or greater in either of the two preceding examples. Some examples of this energy would be solar cells, generated power, or alternative power sources. When the DC bus voltage is in the greater than capacity state, an inverter is possibly taking energy from the DC bus rather than using its primary source. This voltage movement and hysteresis happens naturally in a battery as the state changes from discharge to charge, so the concept is not foreign to a simple connection. In each of the embodiments of charging and discharging the energy storage devices described herein, code can be embedded in the one or more processors to accomplish the desired method.

In one embodiment of the invention, digital communication between two or more processors is accomplished using the Control Area Network (CAN) protocol. The CAN protocol defines a method of communication among many devices on a multi-drop single wire bus. In this embodiment, data sent across the bus is first converted to CAN format by a CAN processor 82 as shown in FIG. 4. The CAN format adds header and footer information to the data packet to define items including, but not limited to, sender information, message priority, and/or error correction/detection information. After the data packet format is converted to CAN, an RF transceiver 84 converts the digital packet into an RF stream and modulates it on an DC or AC power line. FIG. 6 shows a sample of a modulated RF burst 100 on a 120VAC power line and the ensuing decoded data bit 102.

The network architecture of the CAN protocol makes possible a multi-component UPS system that is expandable, hot pluggable, and has simple wiring. The CAN protocol is appropriate for simple messaging. CAN hardware is inexpensive and implements much of the bottom architecture layers in hardware, including error correction, bus arbitration and packet filtering. Some of the desirable features of CAN hardware include: prioritization of messages, configuration flexibility, system wide data consistency, multimaster, error detection and error signaling, automatic retransmission of corrupted messages as soon as the bus is idle again, distinction between temporary error and permanent failures of nodes and autonomous switching off of defect nodes.

FIG. 7 shows the variety of data rates that CAN supports at or above 10 kbit/s. These data rates are typically higher than those of some communication architectures that have been developed for use over power lines. The CAN protocol is intended for light messaging loads, thus the overhead to the system is low. FIG. 8 shows a diagram of a typical CAN data packet.

While transmitting, the transceiver “listens” to or monitors the power line to make sure that while it is sending a recessive bit 110 (no RF) another module is not sending a dominant bit 112 (RF on). If another module is sending a dominant bit, the transmission is stopped and the other sender is allowed to continue transmission.

The CAN bus arbitration scheme is a bit-by-bit nondestructive method to allow multiple devices to begin transmitting when they want, but to stop transmission when a device discover another device transmitting. There is no need for a re-transmission when a collision has been detected. The transmitting device with the winning priority continues transmitting without having to start over again, because the dominant bit that collided “won” over the recessive bit of the lower priority message.

FIG. 9 shows an example of the message arbitration scheme implemented in CAN. CAN hardware uses bitwise message arbitration, a nondestructive method to resolve collisions. In FIG. 9, the symbol TxPIN refers to a signal transmitted by a module a signal received from another module. At time t₁, module A suspends transmission of its signal at TxPIN because it received a dominant low signal from Module B. Unlike other systems, CAN does not require a re-transmission of data by the dominant node in the case of a collision. Either a specially designed proprietary software protocol or the free CAN open software protocol can be used. The CAN open software protocol is available at the website http://www.can-cia.org.

The signal level at the DC bus is generally at the output level of inverters or on battery lines, thus an RF signal modulated on the DC bus can be of a higher frequency while maintaining appropriate regulatory certification. Having a higher RF frequency allows a higher data rate because of the increased bandwidth available. Thus, the use of existing CAN hardware and an RF transceiver, which can be implemented through the use of an Application Specific Integrated Circuit (ASIC), can provide high data integrity and high data transmission rates.

In another embodiment of the invention, the energy storage devices can be Lion and/or NiMH batteries, the subject matter of which is disclosed in the copending application entitled “Uninterruptible Power Supply System Having an NiMH or Lion battery,” filed on Apr. 19, 2001 which has a common assignee with the present application and which is herein incorporated by reference. An advantage to using both Lion and NiMH batteries is that they complement each other in that an NiMH battery is well suited for short discharge applications and a Lion battery is well suited for long discharge applications.

It should be understood that the foregoing is illustrative and not limiting and that obvious modifications may be made by those skilled in the art without departing from the spirit of the invention. Accordingly, reference should be made primarily to the accompanying claims, rather than the foregoing specification, to determine the scope of the invention. 

What is claimed is:
 1. An uninterruptible power supply system comprising: an input for receiving power; an output for providing power; a direct current (DC) line coupled to the input; an output circuit coupled to the DC line and the output; a plurality of DC power sources coupled to the DC line; a power controller coupled to at least a first DC power source of the DC power sources and configured to control at least one of amounts of charge power transferred from the DC line to the first DC power source and amounts of discharge power transferred from the first DC power source to the DC line.
 2. The system of claim 1 wherein the power controller comprises a first power regulator and a first processor, the first power regulator being coupled between the DC line and the first DC power source and the first processor being coupled to the first power regulator.
 3. The system of claim 2 wherein the power controller further comprises a second power regulator coupled between the DC line and the a second DC power source of the plurality of DC power sources.
 4. The system of claim 3 wherein the power controller further includes a second processor coupled and configured to communicate with the first processor.
 5. The system of claim 4 wherein the first processor and the second processor are capable of communication with each other via the DC line.
 6. The system of claim 1 wherein the power controller is configured to control at least one of amounts of charge power transferred from the DC line to a second DC power source of the plurality of DC power sources and amounts of discharge power transferred from the second DC power source to the DC line, and wherein the power controller includes a central controller.
 7. The system of claim 6 wherein the central controller is configured to cause the first DC power source to be charged faster than the second DC power source if the second DC power source has a higher capacity value than the first DC power source.
 8. The system of claim 6 wherein the central controller is configured to cause the first DC power source to be discharged faster than the second DC power source if the second DC power source has a lower capacity value than the first DC power source.
 9. An uninterruptible power supply (UPS) system comprising: an input for receiving power; an output for providing power; a direct current (DC) line coupled to the input; an output circuit coupled to the DC line and the output; a plurality of DC power sources coupled to the DC line; a plurality of power controllers coupled to the DC power sources and configured to control at least one of amounts of charge power transferred from the DC line to the DC power sources and amounts of discharge power transferred from the DC power sources to the DC line.
 10. The system of claim 9 further comprising a plurality of separate modules, each module containing a power controller of the plurality of power controllers and a DC power source of the plurality of DC power sources.
 11. The system of claim 10 wherein each power controller comprises a power regulator and a processor, the power regulator being coupled between the DC line and the respective DC power source and the processor being coupled to the power regulator.
 12. The system of claim 11 wherein the processors are configured to communicate with each other via at least one of the DC line, a fiber-optic medium, wiring, and a wireless link.
 13. The system of claim 12 further comprising a master power controller coupled to the plurality of power controllers and configured to control rates of charging and discharging of the DC power sources.
 14. The system of claim 13 wherein the master power controller is configured to control a voltage on the DC line to be in one of a first range indicating that at least one of the DC power sources is charging, a second range indicating that at least one of the DC power sources is discharging, a third range indicating that the DC power sources are neither charging nor discharging, and a fourth range indicating availability of greater than capacity power.
 15. The system of claim 12 wherein the master power controller is configured to cause a first DC power source from the plurality of DC power sources to be charged faster than a second DC power source of the plurality of DC power sources if the second DC power source has a higher capacity value than the first DC power source, and to cause the first DC power source to be discharged faster than the second DC power source if the second DC power source has a lower capacity value than the first DC power source.
 16. The system of claim 11 wherein the processors are configured to communicate with each other using the Control Area Network protocol.
 17. A method of operating an uninterruptible power supply system, the method comprising: providing input power from an input stage coupled to an AC power source; processing the input power in an output stage to provide an output power to an output; controlling at least one of amounts of the input power provided to a first DC power source from a plurality of DC power sources for charging the firs tDC power source and amounts of DC power provided by the first DC power source to the output stage.
 18. The method of claim 17 wherein the controlling is also performed for a second DC power source from the plurality of DC power sources to cause capacities of the first and second DC power sources to be substantially equal.
 19. The method of claim 17 wherein the controlling controls power flow to charge the first DC power source faster than the second DC power source if the second DC power source has a higher capacity value than the first DC power source, and to discharge the first DC power source faster than the second DC power source if the second DC power source has a lower capacity value than the first DC power source.
 20. The method of claim 19 wherein the controlling causes a voltage at an input to the output stage to be in one of a first range indicating that at least one of the DC power sources is charging, a second range indicating that at least one of the DC power sources is discharging, a third range indicating that the DC power sources are neither charging nor discharging, and a fourth range indicating availability of greater than capacity power.
 21. The method of claim 19 further comprising monitoring status of the plurality of DC power sources and the controlling is performed based on information monitored from at least one of the DC power sources. 